package com.netjava.pojo;

/**
 * Notice entity.
 * 用户关注的商品
 * @author MyEclipse Persistence Tools
 */

public class Notice implements java.io.Serializable {

	// Fields

	private Integer noticeId;
	private User user;//用户
	private Product product;//用户关注的商品
	private String other1;//备用字段

	// Constructors

	/** default constructor */
	public Notice() {
	}

	/** minimal constructor */
	public Notice(User user, Product product) {
		this.user = user;
		this.product = product;
	}

	/** full constructor */
	public Notice(User user, Product product, String other1) {
		this.user = user;
		this.product = product;
		this.other1 = other1;
	}

	// Property accessors

	public Integer getNoticeId() {
		return this.noticeId;
	}

	public void setNoticeId(Integer noticeId) {
		this.noticeId = noticeId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Product getProduct() {
		return this.product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getOther1() {
		return this.other1;
	}

	public void setOther1(String other1) {
		this.other1 = other1;
	}

}